/**
 * Copyright (C), 2001-2023, www.bosssof.com.cn
 * FileName: User
 * Author: Administrator
 * Date: 2023-03-30 16:01:40
 * Description:
 * <p>
 * History:
 * <author> Administrator
 * <time> 2023-03-30 16:01:40
 * <version> 1.0.0
 * <desc> 版本描述
 */
package com.bosssoft.quickstart.demo.dao.entity;

import com.bosssoft.quickstart.demo.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.persistence.Table;
import javax.validation.constraints.NotBlank;
import java.util.Date;

/**
 * @ClassName: User
 * @Description: 为PO对应basic_user表结构
 * @Author: Administrator
 * @Date: 2023-03-30 16:01
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "basic_user")
public class User extends BaseEntity {
    /**
     *  姓名
     */
    @NotBlank(message = "姓名不能为空")
    private String name;
    /**
     *  身份证id
     */
    @NotBlank(message = "身份证id不能为空")
    private String citizenId;
    /**
     *  生日
     */
    @ApiModelProperty("生日")
    private Date birthday;
}
